package top.healthylife.gateway.platform.fpd.api.config;


import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import top.healthylife.gateway.core.config.BaseConfig;
import top.healthylife.gateway.dto.annotation.SystemInfo;
import top.healthylife.gateway.dto.annotation.SystemInfoField;
import top.healthylife.gateway.dto.cons.DataPeriod;

import java.io.Serializable;

/**
 * @author Gaozexi
 * @version 1.0
 * @date 2020/4/10 17:48
 */
@EqualsAndHashCode(callSuper = true)
@SystemInfo(systemName = "发票贷",periodValidity = DataPeriod.REAL_TIME, shortName = "fpd")
@Data
@Configuration
@Accessors(chain = true)
@ConfigurationProperties(prefix = "system")
public class SystemConfig extends BaseConfig implements Serializable {
    private static final long serialVersionUID = -4735148160159528848L;

    /**
     * 内网下发票贷的服务名称
     */
    @SystemInfoField(value = "服务名称")
    private String serviceName;

}
